﻿@import "../_theme";

.progress {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem 0;
}
.send_progress {
    width: 17rem;
    height: 4.2rem;
    background: lighten($ClrTheme,20);
    border-radius: 3rem;
    display: flex;
    align-items: center;

    & i {
        display: block;
        font-size: 2.5rem;
        color: $ClrThemeHotTxt;
        background: $ClrTheme;
        height: 4rem;
        width: 4rem;
        border-radius: 2rem;
        text-align: center;
        line-height: 4rem;
    }

    & > span {
        font-size: 1.6rem;
        display: inline-block;
        margin-left: 10px;

        span {
            font-weight: bold;
        }
    }
}

.rec_progress {
    width: 17rem;
    height: 4.2rem;
    background: lighten($ClrOk,20);
    border-radius: 3rem;
    display: flex;
    align-items: center;

    & i {
        display: block;
        font-size: 2.5rem;
        color: $ClrThemeHotTxt;
        background: $ClrOk;
        height: 4rem;
        width: 4rem;
        border-radius: 2rem;
        text-align: center;
        line-height: 4rem;
    }

    & > span {
        font-size: 1.6rem;
        display: inline-block;
        margin-left: 10px;

        span {
            font-weight: bold;
        }
    }
}

.stockin_progress {
    width: 17rem;
    height: 4.2rem;
    background: lighten($ClrFocus,20);
    border-radius: 3rem;
    display: flex;
    align-items: center;

    & i {
        display: block;
        font-size: 2.5rem;
        color: $ClrFocusTxt;
        background: $ClrFocus;
        height: 4rem;
        width: 4rem;
        border-radius: 2rem;
        text-align: center;
        line-height: 4rem;
    }

    & > span {
        font-size: 1.6rem;
        display: inline-block;
        margin-left: 10px;

        span {
            font-weight: bold;
        }
    }
}


.waybill_list {
    margin: 1rem 0;
}

.waybill-box {
    width: 32.5%;
    float: left;
    padding: 8px;

    & > .waybill {
        display: block;
        transition: all ease-out .5s;
        cursor: pointer;
        box-shadow: 0 0 3px 0 black;
        padding-top: 1rem;
        text-align: center;

        & > .wb-banner {
            padding: .5rem;
            font-size: 1.8rem;
            font-weight: bold;

            &.Aborted {
                background-color: lighten($ClrImportant,20);
            }

            &.Pending {
                background-color: lighten($ClrFocus,20);
            }

            &.Completed {
                background-color: lighten($ClrOk,20);
            }

            &.Active {
                background-color: lighten($ClrTheme,20);
            }
        }

        & > .wb-dlvinfo {
            border-bottom: 2px solid #c8c8c8;
            text-align: center;
            padding: .5rem 0;
            overflow:hidden;
        }

        & > .wb-exinfo {
            padding: .5rem 0;
            overflow:hidden;
            & > .unrcved {
                color: lighten($ClrThemeTxt,20);
            }
        }

        &:hover {
            box-shadow: 0 2px 10px 0 black;
            transform: translateY(-5px);
        }
    }
}
.partialrcv {
    background-color: $ClrImportant;
    padding:3px 5px;
    color: $ClrThemeHotTxt;
    border-radius: 5px;
    font-size:1rem;
}

.no-dlvs {
    height:20rem;
    padding-top:10rem;
    width:100%;
    text-align:center;
    & > span {
        display:inline-block;
        height: 96px;
        width: 96px;
        background-image: url('/UI/imgs/icon-tags.png');
        background-repeat: no-repeat;
        background-position: -126px -115px;
    }
}

.dlvDetail-box {
    position:relative;
}

.dlv-item {
    border-bottom: 1px solid $ClrThemeTxt;
}

/*.dlv-item:nth-of-type(2n+1){
    background-color:lighten($ClrDisable,18);
}*/

.dlvDetail-mes {
    height: 12rem;
    background: none;
    color: $ClrThemeTxt;
    box-shadow: none;
    text-align: left;
    cursor: unset;
    -webkit-appearance: none;
    padding: 0 !important;

    &:hover, &:active, &:focus {
        background: none;
        color: $ClrThemeTxt;
        box-shadow: none;
        text-align: left;
        cursor: unset;
        -webkit-appearance: none;
    }

    & > h5 {
        text-indent: 5px;
        margin: .5rem 0;
        white-space: nowrap;
    }

    & > div {
        & > span {
            display: inline-block;
            font-weight: bold;
            padding-left: 5rem;
        }

        & > .dlvDetail-tit {
            display: inline-block;
            position: absolute;
            padding-left: 0rem;
            font-weight: normal;
        }
    }

    & > .counting {
        margin: 0 0 0 5px;
        width: auto;
        max-width: 100%;
    }
}

.dlvDetail-point {
    height: 12rem;
    position:relative;
    overflow-x:auto;
    overflow-y:hidden;
    /*&:after{
        content:'';
        height:6rem;
        position:absolute;
        top:0;
        left:0;
        right:0;
        border-bottom:1px solid;
        box-shadow:0 1px 1px gray;
    }*/
}

.scroll-wraper{
    width:auto;
    min-width:100%;
    height:100%;
    white-space:nowrap;
}

.point {
    height: 12rem;
    width: 25%;
    display: inline-block;
    position: relative;
    background-image: url('/ui/imgs/material/dlv-process.png');
    background-repeat: no-repeat;
    background-size: 310% 75px;
    background-position: 0 50%;
    text-align: center;
    padding-top: 1.1rem;
    word-break: normal;
    white-space: normal;

    &.Completed {
        background-position: 100% 50%;
    }

    &.Pending {
        background-position: 0 50%;

        & > .rcv-time {
            background-color: lighten($ClrFocus,20);
            border: 1px solid $ClrFocus;
        }
    }

    &.Active {
        background-position: 50% 50%;

        & > .rcv-time {
            background-color: $ClrDisableBk;
            color: $ClrDisable;
            border: 1px solid $ClrDisable;
        }
    }

    & > .dlv-count,
    & > .rcv-count {
        display: inline-block;
        height: 2.2rem;
        line-height: 2.2rem;
        text-align: center;
        width: 80%;
    }


    & > .dlv-time,
    & > .rcv-time {
        display: inline-block;
        height: 3rem;
        line-height: 3rem;
        text-align: center;
        background-color: lighten($ClrTheme,20);
        border-radius: 5px;
        border: 1px solid $ClrTheme;
        color: white;
        width: 60%;
    }
}
